package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

     Page<NursingLevel> selectByPage(String name, Integer status) ;

    List<NursingLevelVo> getAllNursingLevel();

    void insertNursingLevel(NursingLevelVo nursingLevelVo);

    NursingLevelVo getNursingLevelById(Long id);

    void updateNursingLevel(NursingLevelVo nursingLevelVo);

    void selNursingPlan(NursingLevelVo nursingLevelVo);

    void deleteNursingLevel(Long id);

    void updateNursingLevelStatus(Long id, Integer status);
}
